package com.liguang.rcs.admin.db.repository;

import com.liguang.rcs.admin.db.entity.DodmsUserEntity;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface DodmsUserRepository extends CrudRepository<DodmsUserEntity, Long>,
        JpaSpecificationExecutor<DodmsUserEntity> {

        List<DodmsUserEntity> findByUserName(String username);

        List<DodmsUserEntity> findByDeleted(boolean deleted);
}
